package com.yms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yms.pojo.PageResult;
import com.yms.pojo.Result;
import com.yms.pojo.Role;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ${author}
 * @since 2020-03-20
 */
public interface IRoleService extends IService<Role> {

    PageResult<Role> selectByPage(Integer page, Integer rows);

    Result addRoleAndRoleMenu(Role role, int[] a);

    Result flushRoleAndRoleMenu(Role role, int[] a);

    Result deleteRole(int[] a);
}
